import pytest

if __name__ == '__main__':
    pytest.main(["-s","testcase.py","--aluredir=./报告测试","clean","--clean-alluredir"])

    import os
    os.system("allure generate ./报告数据 -o ./测试报告 --clean")


